package com.dengqi.mymodule.activity.swipedel;

import android.os.Bundle;
import android.widget.ListView;

import com.dengqi.mymodule.BaseActivity;
import com.dengqi.mymodule.R;

/**
 * 参考：https://blog.csdn.net/zxt0601/article/details/52303781
 */
public class SwipeDelActivity extends BaseActivity {

    private ListView listView;
    private SwipeAdapter adapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_swipedel);

        adapter = new SwipeAdapter(this);
        listView = findViewById(R.id.listView);
        listView.setAdapter(adapter);
    }


}
